package cn.edu.ujn.finallab.service;

import java.util.HashMap;
import java.util.List;

import cn.edu.ujn.finallab.dao.Room;
import cn.edu.ujn.finallab.util.Page;

public interface IRoomService {
	public List<Room> findAllRoom();
	
	public int insertRoom(Room room);
	
	public int deleteRoom(int id);
	
	public Room selectByNumber(String number);
	
	public int updateRoom(Room room);
	
	public Page<Room> selectByPage(int currentPage);
	
	public List<Room> findUnreservedRoomByTypeAndPriceRoom(HashMap<String, Object> map);
	
	public List<Room> findReservedRoomByTypeAndPrice(HashMap<String, Object> map);
	
	public Page<Room> selectByPageOfRoomTYpe(int currentPage, String roomtype);
	
}
